import { defineComponent } from 'vue'
import pageStyle from './styles/index.module.scss'
export default defineComponent({
  name: 'Home',
  setup() {
    const num: number[] = []
    for (let i = 0; i <= 100; i++) {
      num.push(i)
    }
    const handTest = () => {
      window.aria.start()
    }
    return () => (
      <div class={pageStyle.homeBasic}>
        <div class="homeBasic-main">
          <div onClick={handTest}>点我</div>
          {num.map((item: number) => (
            <div>{item}</div>
          ))}
        </div>
      </div>
    )
  }
})
